<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"> </meta>
    <title>Title</title>
</head>
<body>
<h1>用户添加</h1>
<form action="/user/add" method="post">
    用户名:<input type="text" name="name" /> <font color="red" th:errors="${user.name}"> </font> <br/>
    密码：<input type="text" name="password" /> <font color="red" th:errors="${user.password}"> </font> <br/>
    年龄：<input type="text" name="age" /> <font color="red" th:errors="${user.age}"> </font><br/>
    <input type="submit" name="Save" /> <br/>
</form>
</body>
</html>